/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.flowable.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 节点加载用户配置表
 *
 * @author liyue
 * @date 2022-08-10 17:00:48
 */
@Data
@TableName("act_actor_user")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "节点加载用户配置表")
public class ActorUser extends Model<ActorUser> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * actor名称
     */
    @ApiModelProperty(value="actor名称")
    private String name;

    /**
     * 相应actor的ID
     */
    @ApiModelProperty(value="相应actor的ID")
    private String actorId;

    /**
     * 相应actor拓展的ID
     */
    @ApiModelProperty(value="相应actor拓展的ID")
    private String actorExId;

    /**
     * 拓展信息
     */
    @ApiModelProperty(value="拓展信息")
    private String extendInfo;

    /**
     * actor类型 用户、岗位、javabean
     */
    @ApiModelProperty(value="actor类型 用户、岗位、javabean")
    private String actorType;

    /**
     * 序号
     */
    @ApiModelProperty(value="序号")
    private Integer actorIndex;

    /**
     * 参数，多个使用;分割。
     * javaBean时为 注册的beanName.
     */
    @ApiModelProperty(value="参数，多个使用;分割。")
    private String params;

    /**
     * 远程调用标志{y:是：n:否}，用于加载其它微服务中规则javabean
     */
    @ApiModelProperty(value="远程调用标志{y:是：n:否}，用于加载其它微服务中规则javabean")
    private String remoteFlag;

    /**
     * 服务id
     */
    @ApiModelProperty(value="服务id")
    private String serviceId;

    /**
     * 服务请求
     */
    @ApiModelProperty(value="服务请求")
    private String serviceUrl;

}
